<extend name="Layout:layout_dialog" />
<block name="body_main">
    <form action="{:U('content_edit_save')}" method="post" class="xsui-form" style="min-width:800px;">
        <fieldset>
            <div class="xsui-form-field-vertical">
                <label>摘要内容：</label>
                <textarea name="summary" placeholder="摘要内容" cols="90" rows="3" style="width:99%">{$data.summary}</textarea>
            </div>
            <div class="xsui-form-field-vertical">
                <label>正文内容：</label>
                <textarea name="content" class="xsui-editor" cols="90" rows="6" style="width:99%">{$data.content}</textarea>
            </div>
        </fieldset>
        <button type="submit" class="ui-state-default"><i class="fa fa-save"></i>保存</button>
        <button type="reset" class="ui-state-default">重置</button>
        <input type="hidden" name="category_id" value="{$data.category_id}"/>
        <input type="hidden" name="action" value="{$data.action}"/>
    </form>
</block>